import Vue from 'vue'
import Vuex from 'vuex'
// import * as getters from './getters'
import login from './modules/login'
import address from './modules/address'
import goodsInfo from './modules/goodsInfo'
import goodsTheme from './modules/goodsTheme'
import order from './modules/order'
import coupon from './modules/coupon'

Vue.use(Vuex)

const debug = process.env.NODE_ENV !== 'production'

export default new Vuex.Store({
  // getters,
  modules: {
    login,
    address,
    goodsInfo,
    goodsTheme,
    order,
    coupon,
  },
  strict: debug,
})

